import request from '@/utils/request.js'
export function getDept (params) {
  return request({
    url: process.env.VUE_APP_BASE_URL + 'api/dept',
    params
  })
}
// 查询部门:根据ID获取同级与上级数据
export const getSuperior = data => {
  return request({
    url: process.env.VUE_APP_BASE_URL + 'api/dept/superior',
    method: 'POST',
    data
  })
}
